//
//  YHApp.m
//  AFNetworking
//
//  Created by 000 on 2021/12/25.
//

#import "YHApp.h"

@implementation YHApp

+ (instancetype)manager{
    static YHApp * ma = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        ma = [YHApp new];
    });
    return ma;
}

-(YHMediator *)mediator{
    if(!_mediator){
        _mediator = [YHMediator new];
    }
    return _mediator;
}

@end
